package com.dingqb.myapplication.paint;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.dingqb.myapplication.R;

public class PaintActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_paint);
        TextView tv_shadow = findViewById(R.id.tv_shadow);
        // 文字设置阴影
        tv_shadow.setShadowLayer(1, 4, 4, R.color.colorAccent);
    }
}
